package main

import "github.com/huandu/xstrings"

func main() {
	//挤压删除str中相邻的重复符文。如果pattern不为空，则只有与pattern匹配的符文才会被挤压
	println(xstrings.Squeeze("1123111", ""))
	//
	println(xstrings.Slice("asd123dsad", 0, 10))
}
